<?php
include_once('class/autoload.php');
//require_once('class/connexpdo.php');
require_once'MyPDO.php';
require_once 'PreparationREQ.php';
$site = new page_base('');
$site->titre = "";

try
{
	$db= new MyPDO('mysql:host=192.168.69.26;dbname=BDD_PPE4','root','bonjour');

	$PrepREQ = new PreparationREQ($db);
	
	$PrepREQ->insert();	
	
}
catch (Exception $e)
{
	die('Erreur : ' . $e->getMessage());

}

$site->affiche();
?>